package com.weareint.service;

import com.weareint.dto.HelloDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 *
 * <pre>
 *
 * </pre>
 *
 * @author johnny
 * @date 2021-07-20 6:34 下午
 */
@FeignClient(value = "/backend")
@RequestMapping("/hello")
public interface HelloService {
  @GetMapping("/sayHello")
  HelloDTO getHelloInfo();
}
